package org.publictransport.client.gwt.client.data;

import org.publictransport.server.service.data.TransportType;

import com.google.gwt.user.client.rpc.IsSerializable;


public class TransportLineSerializable implements IsSerializable{
	private Long id;
	private double startPointLatitude;
	public double getStartPointLatitude() {
		return startPointLatitude;
	}
	public void setStartPointLatitude(double startPointLatitude) {
		this.startPointLatitude = startPointLatitude;
	}
	public double getStartPointLongitude() {
		return startPointLongitude;
	}
	public void setStartPointLongitude(double startPointLongitude) {
		this.startPointLongitude = startPointLongitude;
	}
	public double getEndPointLatitude() {
		return endPointLatitude;
	}
	public void setEndPointLatitude(double endPointLatitude) {
		this.endPointLatitude = endPointLatitude;
	}
	public double getEndPointLongitude() {
		return endPointLongitude;
	}
	public void setEndPointLongitude(double endPointLongitude) {
		this.endPointLongitude = endPointLongitude;
	}
	private double startPointLongitude;
	private double endPointLatitude;
	private double endPointLongitude;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String toString() {
		return "Id: " + id + " Start - lat: " + startPointLatitude + " lon: " + startPointLongitude + " \n"
		+"end - lat: " + endPointLatitude + " lon: " + endPointLongitude
		;
	}
}
